/** 
  * @author Ji Ye Choi <cgycgy@naver.com>
  * @version 1.9
  * @since 2010-11-02
  */ 

public class Triangle implements Shape {
	private int bottom;
	private int hlength;
	Triangle(int b, int hl) {
		this.bottom = b;
		this.hlength = hl;
	}
	public int getBottom() {
		return bottom;
	}
	public int getHlength() {
		return hlength;
	}
	public int Area() {
		return (int)(bottom * hlength * 0.5);
	}
}
